/*
 * Created on 2007-11-17
 *
 * TODO 
 */
package jacky.lanlan.song.web.filter;

import javax.servlet.Filter;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;

public abstract class GenericFilterBean implements Filter {
	
	private FilterConfig filterConfig;

	public void init(FilterConfig filterConfig) throws ServletException {
		this.filterConfig = filterConfig;
	}
	
	protected final String getFilterName() {
		return (this.filterConfig != null ? 
				this.filterConfig.getFilterName() : "No Name Filter");
	}

	public void destroy() {
		
	}
	
}
